常用方法
常用方法
常用方法
常用方法
public Staffs Find(int id) { try { StaffRepository repo = new StaffRepository(); return(repo.Find(id)); } catch (Exception ex) { LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true); throw new Exception("BusinessLogic::StaffBusiness::Find::Error occured.", ex); } }