public static ShoppingList ToShoppingList(ShoppingLists dtoList) { return(new ShoppingList { Id = dtoList.ShoppingListId, Title = dtoList.Title }); }
public static ShoppingList ToShoppingList(ShoppingLists dtoList) { return new ShoppingList { Id = dtoList.ShoppingListId, Title = dtoList.Title }; }
public static ShoppingList ToShoppingList(ShoppingLists dtoList) { var result = new ShoppingList { Id = dtoList.ShoppingListId, Title = dtoList.Title }; return result; }