public GetByGuidResponse GetByGuid(GetByGuidRequest request) { GetByGuidResponse response = new GetByGuidResponse(); try { response.User = new EFUserMethodsCAP().GetByGuid(request.Guid); response.Result = new Ac4yProcessResult() { Code = Ac4yProcessResult.SUCCESS }; } catch (Exception exception) { response.Result = (new Ac4yProcessResult() { Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace }); } return(response); }
} // GetById public GetByGuidResponse GetByGuid(GetByGuidRequest request) { GetByGuidResponse response = new GetByGuidResponse(); try { response.Ac4yPersistentChild = new Ac4yPersistentChildEFCap().GetByGuid(request.Guid); response.Result = new Ac4yProcessResult() { Code = Ac4yProcessResult.SUCCESS }; } catch (Exception exception) { response.Result = (new Ac4yProcessResult() { Code = Ac4yProcessResult.FAIL, Message = exception.Message, Description = exception.StackTrace }); } return(response); } // GetByGuid