/// <summary>Implements <see cref="ISys_MenuService.Delete"/></summary>
 public void Delete(Sys_Menu obj)
 {
     if (obj == null)
     {
         throw new ArgumentNullException("obj");
     }
     _repository.Delete(obj);
 }
Exemple #2
0
 /// <summary>
 /// 删除数据
 /// </summary>
 /// <param name="entity">实体类</param>
 /// <returns></returns>
 public bool Delete(sys_menu entity)
 {
     return(_Sys_MenuRepositoryS.Delete(entity));
 }