Beispiel #1
0
    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));
    }
Beispiel #2
0
    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));
    }