C# Class Quince.Admin.Core.Managers.RelationManager

Mostrar archivo Open project: occrp/public-person-profiler

Public Methods

Method Description
AddRelationAsync ( RelationAddEditModel relationModel ) : Task
DeleteRelationAsync ( long id ) : Task
EditRelationAsync ( RelationAddEditModel relationModel ) : Task
GetRelationDisplayModel ( long id ) : RelationDisplayModel
GetRelationEditModel ( long id ) : RelationAddEditModel
GetRelations ( DTRequest request ) : DTResponse
ValidateRelation ( RelationAddEditModel relation, Response response = null ) : Response

Method Details

AddRelationAsync() public static method

public static AddRelationAsync ( RelationAddEditModel relationModel ) : Task
relationModel RelationAddEditModel
return Task

DeleteRelationAsync() public static method

public static DeleteRelationAsync ( long id ) : Task
id long
return Task

EditRelationAsync() public static method

public static EditRelationAsync ( RelationAddEditModel relationModel ) : Task
relationModel RelationAddEditModel
return Task

GetRelationDisplayModel() public static method

public static GetRelationDisplayModel ( long id ) : RelationDisplayModel
id long
return Quince.Admin.Core.Models.Relation.RelationDisplayModel

GetRelationEditModel() public static method

public static GetRelationEditModel ( long id ) : RelationAddEditModel
id long
return RelationAddEditModel

GetRelations() public static method

public static GetRelations ( DTRequest request ) : DTResponse
request Quince.Admin.Core.Models.DataTables.DTRequest
return Quince.Admin.Core.Models.DataTables.DTResponse

ValidateRelation() public static method

public static ValidateRelation ( RelationAddEditModel relation, Response response = null ) : Response
relation RelationAddEditModel
response Response
return Response