常用方法
常用方法
常用方法
常用方法
public IHttpActionResult GetLeavesDetailsForEmployee(int?leaveRequestId) { if (leaveRequestId == null) { return(NotFound()); } var list = _leaveRequestRepository.GetLeaveRequestById(leaveRequestId); return(Ok(list)); }