示例#1
0
        public async Task <IHttpActionResult> GetAllCarterabyEmpleado(String id)
        {
            try
            {
                var entities = await _repo.GetAllCarterabyEmpleado(id);

                return(Ok(entities));
            }
            catch (Exception e)
            {
                return(InternalServerError(e));
            }
        }