private ValueItemCategoryModel InitializeValueItemCategory() { var result = new ValueItemCategoryModel { Id = 0, Name = "", CreatedDateTime = DateTime.UtcNow, ModifiedDateTime = DateTime.UtcNow, CreatedUser = "", ModifiedUser = "", }; return(result); }
public static ValueItemCategory ToEntity(this ValueItemCategoryModel model, ValueItemCategory destination) { return(model.MapTo(destination)); }
public static ValueItemCategory ToEntity(this ValueItemCategoryModel model) { return(model.MapTo <ValueItemCategoryModel, ValueItemCategory>()); }