public async Task<PhotoViewModel> AddMassageWallPhoto(HttpRequestMessage request)
        {
            var provider = new PhotoStreamProvider(_workingFolder + "\\" + FileStorageTypes.MessageWall.ToString());

            await request.Content.ReadAsMultipartAsync(provider);

            var photos = new List<PhotoViewModel>();

            var file = provider.FileData.First();
            if (file == null)
            {
                return null;
            }

            var fileInfo = new FileInfo(file.LocalFileName);

            return new PhotoViewModel
            {
                Name = fileInfo.Name,
                //Created = fileInfo.CreationTime,
                //Modified = fileInfo.LastWriteTime,
                //Size = fileInfo.Length / 1024
            };

        }
        public async Task<PhotoViewModel> Add(HttpRequestMessage request)
        {
            var provider = new PhotoStreamProvider(_workingFolder + "\\temp");

            await request.Content.ReadAsMultipartAsync(provider);

            var photos = new List<PhotoViewModel>();

            //foreach (var file in provider.FileData)
            //{
            var file = provider.FileData.First();
            if (file == null)
            {
                return null;
            }

            var fileInfo = new FileInfo(file.LocalFileName);

            return new PhotoViewModel
            {
                Name = fileInfo.Name,
                //Created = fileInfo.CreationTime,
                //Modified = fileInfo.LastWriteTime,
                //Size = fileInfo.Length / 1024
            };
            //}

        }