public ProviderDashboardModel(Provider provider)
 {
     Provider = new ProviderViewModel(provider);
     NumberOfPendingCourses = provider.Courses.Count(x => x.RecordStatusId == (Int32)Constants.RecordStatus.Pending);
 }
 public ProviderDashboardModel()
 {
     Provider = new ProviderViewModel();
 }