Пример #1
0
        public async Task <IActionResult> Create(string userGroup, string userFirstName, string userLastName, [Bind("Type,Seminar,File")] UploadsCreateModel uploadCreateModel)
        {
            await _service.CreateUploads(userGroup, userFirstName, userLastName, uploadCreateModel);

            return(RedirectToAction(nameof(Index)));
        }