locked
MVC school project that has timer with an on and off switch RRS feed

  • Question

  • User-1130188263 posted

    Hi, I need some serious help on a school project. I need to make an application in MVC that has a timer with an on and off switch and you can then enter your work times on the project in question and send it to your boss who can then confirm your work times or send them back if something is wrong. Also the number of projects someone can work on is not limited and varies. I just have no idea how to go about any of this, including how to store this data in the database. ANY sort of help, suggestions or links would be HIGHLY appreciated. 

    Monday, June 15, 2020 1:14 PM

All replies

  • User1535942433 posted

    Hi Markizzz,

    Accroding to your description,as far as I think,you could use jquery to start/stop the timer.You could use datenow time minus the start time to count time.And then,you could add listen  events to display/hide  stop button.Then you click the stop buton,you could remain the time.

    how to store this data in the database

    You could read about this:

    https://www.c-sharpcorner.com/UploadFile/32bcb2/mvc-first-time-more-than-hello-world/

    Best regards,

    Yijing Sun

    Tuesday, June 16, 2020 7:26 AM
  • User-2054057000 posted

    You are starting with ASP.NET Core MVC and you need to understand how everything works in this framework. Then you should start creating a project. 

    ANY sort of help, suggestions or links would be HIGHLY appreciated. 

    Your project is going to be of Database application. So start with some basic projects like these 2:

    1. First ASP.NET Core MVC Application

    2. First CRUD Application in ASP.NET Core MVC

    Wednesday, June 17, 2020 2:59 AM