Exemple #1
0
 public void SaveUserRole(IEnumerable <UserRole> model, int userId)
 {
     _roledal.DeleteUserRole(userId);
     if (model != null && model.Count() > 0)
     {
         _dal.Insert(model);
     }
 }