Refactored repository pattern for Add and Update methods so that they return their respective entity objects
This commit is contained in:
17
Oqtane.Shared/Models/SiteUser.cs
Normal file
17
Oqtane.Shared/Models/SiteUser.cs
Normal file
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
|
||||
namespace Oqtane.Models
|
||||
{
|
||||
public class SiteUser : IAuditable
|
||||
{
|
||||
public int SiteUserId { get; set; }
|
||||
public int SiteId { get; set; }
|
||||
public int UserId { get; set; }
|
||||
public bool IsAuthorized { get; set; }
|
||||
|
||||
public string CreatedBy { get; set; }
|
||||
public DateTime CreatedOn { get; set; }
|
||||
public string ModifiedBy { get; set; }
|
||||
public DateTime ModifiedOn { get; set; }
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user