-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
…ights from controller to services. GetByFilter still doesn't work.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ public class CreateProviderAdminDto : AdminBaseDto | |
|
||
public Guid ProviderId { get; set; } | ||
|
||
public string UserId { get; set; } | ||
//public string UserId { get; set; } | ||
Check warning on line 16 in OutOfSchool/OutOfSchool.Common/Models/CreateProviderAdminDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 16 in OutOfSchool/OutOfSchool.Common/Models/CreateProviderAdminDto.cs GitHub Actions / test (windows-latest)
Check warning on line 16 in OutOfSchool/OutOfSchool.Common/Models/CreateProviderAdminDto.cs GitHub Actions / test (macOS-latest)
|
||
|
||
// to specify if its assistant or deputy | ||
public bool IsDeputy { get; set; } | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ public class MinistryAdminBaseDto : AdminBaseDto | |
[Required(ErrorMessage = "InstitutionId is required")] | ||
public Guid InstitutionId { get; set; } | ||
|
||
public string UserId { get; set; } | ||
//public string UserId { get; set; } | ||
Check warning on line 14 in OutOfSchool/OutOfSchool.Common/Models/MinistryAdminBaseDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 14 in OutOfSchool/OutOfSchool.Common/Models/MinistryAdminBaseDto.cs GitHub Actions / test (windows-latest)
Check warning on line 14 in OutOfSchool/OutOfSchool.Common/Models/MinistryAdminBaseDto.cs GitHub Actions / test (macOS-latest)
|
||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.ComponentModel.DataAnnotations; | ||
//using System.ComponentModel.DataAnnotations; | ||
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (windows-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (windows-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (windows-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (macOS-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (macOS-latest)
Check warning on line 3 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (macOS-latest)
|
||
|
||
namespace OutOfSchool.Common.Models; | ||
|
||
public class UpdateProviderAdminDto : AdminBaseDto | ||
{ | ||
[Required(ErrorMessage = "Id is required")] | ||
public string Id { get; set; } | ||
//[Required(ErrorMessage = "Id is required")] | ||
Check warning on line 9 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 9 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (windows-latest)
Check warning on line 9 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (macOS-latest)
|
||
//public string Id { get; set; } | ||
Check warning on line 10 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (ubuntu-latest)
Check warning on line 10 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (windows-latest)
Check warning on line 10 in OutOfSchool/OutOfSchool.Common/Models/UpdateProviderAdminDto.cs GitHub Actions / test (macOS-latest)
|
||
|
||
// to specify workshops, which can be managed by provider admin | ||
public List<Guid> ManagedWorkshopIds { get; set; } | ||
|