Esempio n. 1
0
        public ActionResult Loged(FormCollection collection)
        {
            UserTimeSheet tm = new UserTimeSheet();

            tm.UserProjectID   = Convert.ToInt32(collection["projectID"].ToString());
            tm.days            = collection["days"].ToString();
            tm.Hours           = Convert.ToDecimal(collection["hour"].ToString());
            tm.TaskDescription = collection["desc"].ToString();
            tm.DailyLoged();
            return(View("user"));
        }
 public IEnumerable <UserTimeSheet> Dailylog(string id)
 {
     return(UserTimeSheet.GetDaliyLoged(Convert.ToInt32(id)));
 }
 public IEnumerable <UserTimeSheet> GetResources(string id)
 {
     return(UserTimeSheet.GetResource(Convert.ToInt16(id)));
 }