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