public WorkgroupModel EditWorkgroup(WorkgroupModel model)
 {
     try
     {
         var edited = _service.EditWorkgroup(model);
         return(edited);
     }
     catch (Exception e)
     {
         Console.WriteLine(e);
     }
     return(model);
 }