Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public List <Category> GetCategories() { var categoryModels = db.Categories.GetCategories(); var categories = new List <Category>(); foreach (var categorytModel in categoryModels) { categories.Add(factory.CreateCategory(categorytModel)); } return(categories); }