Exemple #1
0
 private void AssignDataObjectToEntity(tbl_SiteMap dbRole, ref ServicesLibrary.Entities.SiteMap entSiteMap)
 {
     entSiteMap.IdSiteMap = dbRole.IdSiteMap;
     entSiteMap.Name = dbRole.Name;
     entSiteMap.Description = dbRole.Description;
     entSiteMap.RoleCode = dbRole.RoleCode;
     entSiteMap.URL = dbRole.URL;
     entSiteMap.EntStatus = new Status(){IdStatus= dbRole.tbl_Status.IdStatus,Name =dbRole.tbl_Status.Name};
     entSiteMap.IsBrowsable = dbRole.IsBrowsable;
     entSiteMap.IdParent = dbRole.IdParent;
 }
Exemple #2
0
 public bool Save(ServicesLibrary.Entities.RoleInfo newRoleInfo, Dictionary<int, int> RoleSiteMap)
 {
     return ServiceFactory.GetRoleService().Save(newRoleInfo, RoleSiteMap);
 }
Exemple #3
0
 public bool Save(ServicesLibrary.Entities.RoleInfo newRoleInfo)
 {
     return ServiceFactory.GetRoleService().Save(newRoleInfo);
 }
Exemple #4
0
 public int Save(ServicesLibrary.Entities.Ticket newTicket)
 {
     return ServiceFactory.GetTicketService().Save(newTicket);
 }
Exemple #5
0
 public List<ServicesLibrary.Entities.Ticket> GetAllByIdCompanyStatus(int ID, ServicesLibrary.Entities.Ticket.TicketStatusEnum Status)
 {
     return ServiceFactory.GetTicketService().GetAllByIdCompanyStatus(ID,Status);
 }
Exemple #6
0
 public bool Save(ServicesLibrary.Entities.Company newCompany)
 {
     return ServiceFactory.GetCompanyService().Save(newCompany);
 }
Exemple #7
0
 public bool Save(ServicesLibrary.Entities.Category entity)
 {
     return ServiceFactory.GetCategoryService().Save(entity);
 }
Exemple #8
0
 public bool Save(ServicesLibrary.Entities.GlobalAttribute entGlobalAtt, int IdApplication)
 {
     return ServiceFactory.GetConfigurationService().Save(entGlobalAtt, IdApplication);
 }
Exemple #9
0
 public bool Save(ServicesLibrary.Entities.Comment entComment)
 {
     return ServiceFactory.GetCommentService().Save(entComment);
 }
 public bool Save(ServicesLibrary.Entities.UserInfo newUser)
 {
     return ServiceFactory.GetMembershipService().Save(newUser);
 }
 public void ChangeStatus(ServicesLibrary.Entities.UserInfo userInfo)
 {
     throw new NotImplementedException();
 }