Пример #1
0
        public async Task <ActionResult> UpdateCommission(CommissionsViewModel model, int id)
        {
            if (model.CommissionId != id)
            {
                return(BadRequest());
            }
            await _comService.UpdateCommissionAsync(model);

            return(Ok());
        }