public static async Task <PreAuthDomain> AddDomain(PreAuthDomain domain) { domain.CreateDate = DateTime.UtcNow; domain.LastUpdated = DateTime.UtcNow; return(await DocDBRepo.DB <PreAuthDomain> .CreateItemAsync(domain)); }
public static async Task <dynamic> DeleteDomain(PreAuthDomain domain) { return(await DocDBRepo.DB <PreAuthDomain> .DeleteItemAsync(domain)); }