public ActionResult Logshistory()
        {
            int developerid = User.Identity.GetUserId<int>();

            ViewBag.Projects = dal.GetProjectsDeveloperResultSheet(developerid);

            // var logs = new ProjectDal().GetDeveloperLogResulSheet(developerid, 0, null, null);

            List<LogListByDate> logs = new LogController().SearchLog(developerid, 0, null, null);

            return View(logs);
        }
        public ActionResult GetDeveloperLogResultSheetByFilter(int? projectId, DateTime? fromdate, DateTime? todate)
        {
            // List<LogFiltered> logs = new List<LogFiltered>();
            int developerId = User.Identity.GetUserId<int>();


            //var logs = dal.GetDeveloperLogResulSheet(developerId, projectId, fromdate, todate);

            List<LogListByDate> logs = new LogController().SearchLog(developerId, projectId, fromdate, todate);

            return PartialView("_DeveloperLogList", logs);
        }