public static TService GetService <TService>() where TService : class { return(DMContext.GetService <TService>()); }