public Common.DTO.SdFilterCategoryDto GetFilter(int serviceCategoryId) { FilterCategoryTDataAccess da = new FilterCategoryTDataAccess(); var filter = da.GetSingle(it => it.Servicecaegoryid == serviceCategoryId); return(filter); }
public Framework.Common.Service.Message.ResponseDto RemoveFilter(Common.DTO.SdFilterCategoryDto filter) { FilterCategoryTDataAccess da = new FilterCategoryTDataAccess(); da.Delete(filter); return(ResponseBuilder.GetResponse(filter)); }