public override UpdateDefinition <Actor> UpdateFilter(Actor entity) { return(UpdateDef.Set(a => a.FullName, entity.FullName) .Set(a => a.BirthDate, entity.BirthDate) .Set(a => a.BirthYear, entity.BirthYear) .Set(a => a.ImageLink, entity.ImageLink) .Set(a => a.Description, entity.Description)); }
public override UpdateDefinition <Movie> UpdateFilter(Movie entity) { return(UpdateDef.Set(a => a.Name, entity.Name) .Set(a => a.PosterLink, entity.PosterLink) .Set(a => a.PremYear, entity.PremYear) .Set(a => a.Genre, entity.Genre) .Set(a => a.Time, entity.Time) .Set(a => a.Score, entity.Score) .Set(a => a.Description, entity.Description)); }