Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // {0} iku teko tahun ta?
- public JsonResult NaikPangkat(Nullable<int> tahun)
- {
- tahun = tahun ?? System.DateTime.Now.Year;
- db.Database.SqlQuery<EmployeeReportVM>("Select max(b.tmt_date) from Emp_Employee_Golru b where a.Employee_Id = b.Employee_Id and (Year(b.tmt_date) + 2) = {0}", tahun);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement