Пример #1
0
        public IHttpActionResult GetProbationPeriodDetails(EmployeeDetails emp)
        {
            var response_from_stored_proc = StoredProcedureRepository.GetEmployeeDetails(emp.EmpID);

            if (response_from_stored_proc == null)
            {
                return(NotFound());
            }
            var response = WebMethods.CreateServiceResponse(Enums.WebServiceStatus.Success, response_from_stored_proc);

            return(Json(response));
        }