public static Business.ApplicationService.profile GetUserProfile(string ownerid) { DataLayer bd = new DataLayer(); Business.ApplicationService.profile objProfile = new Business.ApplicationService.profile(); objProfile = bd.GetUserProfile(ownerid); return objProfile; }
public string GetDefaultTemplate() { string templateid = ""; Business.ApplicationService.profile userprofile = dataLayer.GetUserProfile(Session["companyid"].ToString()); templateid = userprofile.templateid; return(templateid); }
public static string GetDefaultTemplate(string companyid) { string templateid = ""; DataLayer dataLayer = new DataLayer(); Business.ApplicationService.profile userprofile = dataLayer.GetUserProfile(companyid); templateid = userprofile.templateid; return templateid; }