Exemplo n.º 1
0
        public IHttpActionResult GetLeavesDetailsForEmployee(int?leaveRequestId)
        {
            if (leaveRequestId == null)
            {
                return(NotFound());
            }
            var list = _leaveRequestRepository.GetLeaveRequestById(leaveRequestId);

            return(Ok(list));
        }