Пример #1
0
        public IHttpActionResult ViewAllEmployeeDetails(int VendorId)
        {
            List <ACRF_EmployeeDetailsModel> objList = new List <ACRF_EmployeeDetailsModel>();

            try
            {
                objList = objEmployeeDetailsVM.ListEmployeeDetails(VendorId);
            }
            catch (Exception ex)
            {
                ErrorHandlerClass.LogError(ex);
            }

            return(Ok(new { results = objList }));
        }