public ServiceProviderViewModel ServiceproviderToSendText(int accountID) { ServiceProvider serviceProvider = serviceProviderRepository.GetSendTextServiceProviders(accountID, CommunicationType.Text); ServiceProviderViewModel viewmodel = Mapper.Map <ServiceProvider, ServiceProviderViewModel>(serviceProvider); return(viewmodel); }