public TenantView UpdateTenant(UpdateTenant request) { var res = Update <TenantView>(request); var p = new DynamicParameters(); p.Add("@Tenant", request.D_Tenant_Id, dbType: DbType.Guid); p.Add("@OrganizaciaTypDetail_Id", request.C_OrganizaciaTypDetail_Id, dbType: DbType.Int16); p.Add("@sName", request.Nazov, dbType: DbType.String); SqlProcedure("[reg].[TenantCreate]", p); return(res); }
public TenantView Any(UpdateTenant request) { return(Repository.UpdateTenant(request)); }