/// <summary>
 /// Get single entity for specified predicate.
 /// </summary>
 /// <param name="predicate">The predicate.</param>
 /// <returns></returns>
 public T Single(Expression <Func <T, bool> > predicate)
 {
     return(_dbSet.SingleOrDefault(predicate));
 }