Ejemplo n.º 1
0
 public static Entities.Category MapCategory(Logic.Objects.Base_Objects.Logging.Category logicCategory)
 {
     Entities.Category contextCategory = new Entities.Category()
     {
         CategoryId          = logicCategory.categoryID,
         CategoryName        = logicCategory.categoryName,
         CategoryDescription = logicCategory.categoryDescription
     };
     return(contextCategory);
 }
Ejemplo n.º 2
0
 public static Logic.Objects.Base_Objects.Logging.Category MapCategory(Entities.Category contextCategory)
 {
     Logic.Objects.Base_Objects.Logging.Category logicCategory = new Logic.Objects.Base_Objects.Logging.Category()
     {
         categoryID          = contextCategory.CategoryId,
         categoryName        = contextCategory.CategoryName,
         categoryDescription = contextCategory.CategoryDescription
     };
     return(logicCategory);
 }