private ValueItemCategoryModel InitializeValueItemCategory()
        {
            var result = new ValueItemCategoryModel
            {
                Id               = 0,
                Name             = "",
                CreatedDateTime  = DateTime.UtcNow,
                ModifiedDateTime = DateTime.UtcNow,
                CreatedUser      = "",
                ModifiedUser     = "",
            };

            return(result);
        }
Example #2
0
 public static ValueItemCategory ToEntity(this ValueItemCategoryModel model, ValueItemCategory destination)
 {
     return(model.MapTo(destination));
 }
Example #3
0
 public static ValueItemCategory ToEntity(this ValueItemCategoryModel model)
 {
     return(model.MapTo <ValueItemCategoryModel, ValueItemCategory>());
 }