示例#1
0
        public static List <BusinessDTO> GetBusinessByCategoryCode(int code)
        {
            List <Business__tbl> busniessListDal = DAL.BusinessDAL.GetBusinessByCategoryCode(code);
            List <BusinessDTO>   busniessDTOs    = BusinessDTO.ListToDTO(busniessListDal);

            return(busniessDTOs);
        }
示例#2
0
        public static List <BusinessDTO> GetBusinessByOwnerCode(string code)
        {
            List <Business__tbl> busniessListDal = DAL.BusinessDAL.GetBusinessByOwnerCode(code);
            List <BusinessDTO>   busniessDTOs    = BusinessDTO.ListToDTO(busniessListDal);

            return(busniessDTOs);
        }
示例#3
0
        public static List <BusinessDTO> GetAllBusiness()
        {
            List <Business__tbl> busniessListDal = DAL.BusinessDAL.GetAllBusiness();
            List <BusinessDTO>   busniessDTOs    = BusinessDTO.ListToDTO(busniessListDal);

            return(busniessDTOs);
        }