public void MarkAsDeleted(long estateId, string userId) { using (var dbContext = new REMSEntities()) { dbContext.Mark_Estate_And_RelatedData_AsDeleted(estateId, userId); } }
public void MarkAsDeleted(long tenantId, string userId) { using (var dbContext = new REMSEntities()) { dbContext.Mark_Tenant_And_Related_DataAs_Deleted(tenantId, userId); } }
public void PurgeAspNetUserRole(string userId, string roleId) { using (var dbContext = new REMSEntities()) { // dbContext.AspNetUserRole_Purge(userId, roleId); } }
public void CreateAspNetUserRolesRecord(string userId, string roleId) { PurgeAspNetUserRole(userId, roleId); using (var dbContext = new REMSEntities()) { // dbContext.AspNetUserRole_Create(userId, roleId); } }
public void MarkAsDeleted(long houseId, string userId) { using (var dbContext = new REMSEntities()) { dbContext.Mark_House_And_Related_DataAs_Deleted(houseId, userId); } }