public IActionResult GetLeaveRemainDay(long LeaveTypeId, long FromEmpId)
        {
            decimal RemainDay = leaveTypeRepository.GetLeaveRemainDay(LeaveTypeId, FromEmpId);


            var day = JsonConvert.SerializeObject(RemainDay, Formatting.None, new JsonSerializerSettings()
            {
                ReferenceLoopHandling = Newtonsoft.Json.ReferenceLoopHandling.Ignore
            });

            return(Content(day, "application/json"));
        }