public async Task <ActionResult> AddMany(IList <LecturerViewModel> model) { if (model == null || !ModelState.IsValid) { return(BadRequest(ModelState)); } var result = await _lecturerService.AddMany(model.ToLecturers()); return(Ok(result)); }