Ejemplo n.º 1
0
 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);
        }
Ejemplo n.º 3
0
        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);
        }
Ejemplo n.º 4
0
        public static string GetDefaultTemplate(string companyid)
        {
            string    templateid = "";
            DataLayer dataLayer  = new DataLayer();

            Business.ApplicationService.profile userprofile = dataLayer.GetUserProfile(companyid);
            templateid = userprofile.templateid;
            return(templateid);
        }