Ejemplo n.º 1
0
    public IEnumerable <PremiumListUI> GetPremiumsByCompanyUI([FromUri] string id)
    {
        ProfileCommon profile   = APIhelper.GetProfileCommon(Request);
        int           companyId = DB.GetBorrowerClientCompanyId(profile, id);

        return(PremiumListUI.GetPremiumsByCompanyUI(companyId, profile, id));
    }
Ejemplo n.º 2
0
    public IEnumerable <PremiumListUI> GetByPolicyUI([FromUri] PoliciesFilter filter)
    {
        ProfileCommon profile = APIhelper.GetProfileCommon(Request);

        return(PremiumListUI.GetPremiumsByPolicyUI(profile, filter));
    }