Пример #1
0
        public async Task <IActionResult> InsertEnrollmentAsync(InsertEnrollmentRequest ieq)
        {
            int i = 0;

            i = await _dbService.AddEnrollmentAsync(ieq);

            if (i == -1)
            {
                return(BadRequest());
            }

            return(Ok());
        }