public IActionResult Add(Departments model)
 {
     model.Uid = Guid.NewGuid();
     _departmentsService.Add(model);
     return(RedirectToAction("List"));
 }