示例#1
0
        public async Task <IHttpActionResult> GetByIdIdentity(int Id)
        {
            try
            {
                var entity = await _repo.GetByIdIdentity(Id);

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