public virtual Task<int> UpdateAsync( E entity )
For updating the entity:
var entity = new Entity { FirstName = "Alex", SecondName = "Lion" }; await repository.UpdateAsync(entity);
Copyright © 2016, Albert Akhmetov