зеркало из https://github.com/Azure/azure-saas.git
Remove Unneeded Classes (#181)
* Addresses Owner class TODO * Remove irrelevant declarations of Tenant, Owner, and ConfirmationViewModel unused by workflow process
This commit is contained in:
Родитель
c2a4fc144b
Коммит
0659135ed9
|
@ -1,12 +0,0 @@
|
|||
namespace Saas.SignupAdministration.Web.Models
|
||||
{
|
||||
//TODO: Is this class needed?
|
||||
public class Owner
|
||||
{
|
||||
public string Id { get; set; } = string.Empty;
|
||||
public string FirstName { get; set; } = string.Empty;
|
||||
public string LastName { get; set; } = string.Empty;
|
||||
public string Email { get; set; } = string.Empty;
|
||||
public string ProfilePic { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
namespace Saas.SignupAdministration.Web.Models
|
||||
{
|
||||
public class Tenant
|
||||
{
|
||||
public string Id { get; set; } = string.Empty;
|
||||
public Guid ApiIKey { get; set; }
|
||||
public string TenantName { get; set; } = string.Empty;
|
||||
public bool IsActive { get; set; }
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string DatabaseName { get; set; } = string.Empty;
|
||||
public string DatabaseServer { get; set; } = string.Empty;
|
||||
public string WebAppName { get; set; } = string.Empty;
|
||||
public string StorageContainerName { get; set; } = string.Empty;
|
||||
public string Url { get; set; } = string.Empty;
|
||||
public DateTime CreatedOn { get; set; }
|
||||
public bool IsProvisioned { get; set; }
|
||||
public bool IsCancelled { get; set; }
|
||||
public int ProductId { get; set; }
|
||||
public string ProvisioningStatus { get; set; } = string.Empty;
|
||||
public string ProductName { get; set; } = string.Empty;
|
||||
public string ProductTier { get; set; } = string.Empty;
|
||||
public int Category { get; set; }
|
||||
public string CategoryName { get; set; } = string.Empty;
|
||||
public string Region { get; set; } = string.Empty;
|
||||
public string IpAddress { get; set; } = string.Empty;
|
||||
public int OrderId { get; set; }
|
||||
public Owner? Owner { get; set; }
|
||||
public string UserName { get; set; } = string.Empty;
|
||||
public string OwnerEmail { get; set; } = string.Empty;
|
||||
}
|
||||
}
|
|
@ -1,7 +0,0 @@
|
|||
namespace Saas.SignupAdministration.Web.ViewModels
|
||||
{
|
||||
public class ConfirmationViewModel
|
||||
{
|
||||
public Models.Tenant? Tenant { get; set; }
|
||||
}
|
||||
}
|
|
@ -1,5 +1,4 @@
|
|||
@model Saas.SignupAdministration.Web.Models.Tenant
|
||||
@{
|
||||
@{
|
||||
ViewData["Title"] = "Create your Subscriber - Select a Plan";
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче