public Models.Image.ImageUpload Update(Models.Image.ImageUpload entity) { var imageUpload = entity.ToImageUpload(); _connection.Update(imageUpload); return(entity); }
public Models.Image.ImageUpload Save(Models.Image.ImageUpload entity) { var imageUpload = entity.ToImageUpload(); _connection.Insert(imageUpload); return(entity); }