public async Task <SharedFolderModelBussines <int> > CreateAsync(SharedFolderModelBussines <int> model) { var added = await this._context.SharedFolders.AddAsync( AutoMapperConfig.Mapper.Map <SharedFolderModel <int> >(model) ); await this._context.SaveChangesAsync(); return(await this.GetByIdAsync(added.Entity.Id)); }
public Task <SharedFolderModelBussines <int> > UpdateAsync(int id, SharedFolderModelBussines <int> model) { throw new NotImplementedException(); }