Exemplo n.º 1
0
        public object GetLichCongTacCaNhan()
        {
            JQueryDataTableParamModel param = new JQueryDataTableParamModel();
            var    identity = (ClaimsIdentity)User.Identity;
            string username = identity.Claims.First().Value;
            PhongBanBussinessService phongBanBussinessService = new PhongBanBussinessService();

            param.CanBo     = username;
            param.StartDate = DateTime.Today.AddYears(-1);
            param.EndDate   = DateTime.Today.AddYears(1);
            return(phongBanBussinessService.GetLichCaNhan(param));
        }