public void PostFolder(FolderModel value)
 {
     var folderForUpdate = new FolderEntity()
     {
         Id = value.Id,
         UserId = int.Parse(User.Identity.Name),
         ParentFolderId = null,
         Title = value.Title
     };
     folders.Edit(folderForUpdate);
 }
 public void Post(FolderModel value)
 {
     folders.Add(new FolderEntity() { ParentFolderId = value.ParentFolderId, Title = value.Title, UserId = value.UserId });
 }