internal List <Staff> GetAllStaffObjects() { try { StaffDal objDAL = new StaffDal(); DataSet dsFields = objDAL.GetAll(); return(MappingManager.MapStaffAsListOfBLObjects(dsFields)); } catch (Exception ex) { throw new Exception(ex.Message); } }
/*Company Id İle çalışan ayrı Methot yazılacak*/ public IEnumerable <Staff> GetAll() { return(_staffDal.GetAll()); }