Пример #1
0
        public async Task <HttpResponse> Post([FromBody] User obj)
        {
            ErrorCode rev = await Task.Factory.StartNew <ErrorCode>(() => BLUser.Add(obj));

            HttpResponse response = new HttpResponse(rev, null);

            return(response);
        }