EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
Web作业代写
您的位置: 主页 > 编程案例 > Web作业代写 >
Web作业代写:Web Systems Development代写 database代写 Model代写 project代写 - 代写Web作业
发布时间:2021-07-24 16:50:44浏览次数:
4.Use scaffolding to create the controllers and views for all the three Model classes above.5.Use migration to create the database tables for all the three Model classes above.6.Follow Lecture 11 slides to implement a My Details page to allow a logged-in customer to enter and update his/her details. Web Systems Development代写Follow Lecture 11 slides to redirect a newly-registered customer to the My Details Modifythe Create() method in the PurchasesController and its associated view to implement a customized page for a logged-in customer to purchase pizzas.Specifically, you should implement the following:a.The web form for purchasing pizzas should include the following inputdevices:i.A dropdown list for selecting pizzas. The options in this dropdown list should be read from the database, and each option should use a pizza s ID as its value and a pizza s Name as its text.ii.An input field for entering PizzaCount. The PizzaCount should range from 1 to 80. Web Systems Development代写b.If the customer inputs in this web form are valid, insert this purchase into the database. Note that you should do the following before theinsertion:i.Get the CustomerEmail for this purchase. (Hint: see the My Details implementation in the sample project for Lecture11).ii.Calculate the TotalCost for this purchase.c.Display a confirmation message for this purchase if it is successful. The message should include the following pieces of info: the name and the number of the pizza ordered, and the totalHint: Lecture 8 slides and sample project have been updated to guide you in implementing this step. Please download the latest versions of Lecture 8 slides and sample project, and refer to the last section of the slides.9.Modify the Index() method in the PurchasesController and its associated view to implement thefollowing:  Web Systems Development代写a.Only display the purchases made by the logged-in customer. (Hint: this can be done by calling the Where() method with a lambda expression onCustomerEmail).b.Remove the Edit , Details and Delete links in each row.c.There should be a column displaying the name of the pizza purchased.d.There should be a column displaying the full name of the customer making this purchase.e.The three column headings ( Pizza name , PizzaCount and TotalCost ) should be links that users can click to sort all records by that column.f.Clicking a column heading toggles the display order between ascending and descending. Web Systems Development代写10.Add a CalcPurchaseStats() action method into the PurchasesController to calculate and displaythe following distribution: the number of purchases against each  In order to achieve this, you also need to create relevant Views and ViewModels.11.Make the links in the navigation bardynamic:a.When a customer is not logged-in, he/she should see the following links: Home, Pizzas (pointing to /Pizzas/Index), Register,Login.b.When a customer is logged-in, he/she should see the following links: Home, Pizzas Index (pointing to /Pizzas/Index), My Details, Purchase Pizzas (pointingto/Purchases/Create), My Purchases (pointing to /Purchases/Index), Statistics (pointing to /Purchases/CalcPurchaseStats), Logout.Hint: modifying _Layout.cshtml by following the idea of /Shared/_LoginPartial.cshtml. Web Systems Development代写Use the [Authorize] attribute class to make the following links only accessible to logged-in customers: My Details, Purchase Pizzas, My Purchases,Statistics.Checkpoint (2 marks)  Web Systems Development代写The Prac3 Checkpoint will occur in your registered practical class in week 11. At this checkpoint you should complete steps 1-2.Marking criteria:Step 1: 1Step 2: 1Any mistake in a step will results in a zero mark for that step. No decimal mark isFinal Submission (16 marks)Please follow the steps below to submit your completed Prac3 to vUWS:Zipup the entire GourmetPizza folder and its sub-folders, which contain all your files for your project.Name the ZIP file Surname_studentidzipSubmit the zipfile:In VUWS, go to‘Practicals’Click on ‘Prac3 Submission’; this link will be made available closer to theAttach your zip file and submit

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。