public void DeleteUser(UsersWM webModel) { try { _usersOperations.DeleteUser(UsersMapping.MapToEntity(webModel)); } catch (Exception ex) { throw new Exception(ex.ToString()); } }
public void AddUsers(List <UsersWM> webModelList) { try { _usersOperations.AddUsers(UsersMapping.MapToEntity(webModelList)); } catch (Exception ex) { throw new Exception(ex.ToString()); } }