func (c *CommandController) GetBy(id int64) interface{} {
	if command, ok := c.Service.GetByID(id); ok {
		return command
	}

	return iris.StatusNotFound
}
// GetBy get command by ID
GetBy get command by ID
// GetBy get command by ID
func (c *CommandController) GetBy(id int64) interface{} {
	if command, ok := c.Service.GetByID(id); ok {
		return command
	}
	return iris.StatusNotFound
}
func ( c * CommandController ) GetBy ( id int64 ) interface { } { if command , ok := c . Service . GetByID ( id ) ; ok { return command } return iris . StatusNotFound }
GetBy get command by ID
GetBy get command by ID