public IEnumerable <CashValueUI> GetCashValuesByPolicy([FromUri] PoliciesFilter filter) { ProfileCommon profile = APIhelper.GetProfileCommon(Request); web_Company wc = DB.GetCompanyByID(profile.CompanyID); return(CashValueUI.GetCashValuesByPolicy(profile, wc, filter)); }
private IEnumerable <DocumentUI> GetDocumentsByCompany(DocumentsFilter filter) { ProfileCommon profile = APIhelper.GetProfileCommon(Request); web_Company wc = DB.GetCompanyByID(profile.CompanyID); return(DocumentUI.GetDocumentsByCompanyUI(profile, wc, filter.BorrowerId, filter.FileType)); }