public T Create(T entity) { try { _mongoDBContext.Add(entity); _mongoDBContext.SaveChanges(); } catch (Exception) { throw; } return(entity); }