DELETE api/QuanLyTrungTam/XoaKhoaHoc/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

string

Required

Body Parameters

None.

Response Information

Resource Description

KhoaHoc
NameDescriptionTypeAdditional information
MaKhoaHoc

string

None.

TenKhoaHoc

string

None.

MoTa

string

None.

LuotXem

integer

None.

NguoiTao

string

None.

HinhAnh

string

None.

HocVienKhoaHocs

Collection of HocVienKhoaHoc

None.

NguoiDung

NguoiDung

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Self referencing loop detected for property 'KhoaHoc' with type 'CinimaServer.Models.KhoaHoc'. Path 'HocVienKhoaHocs[0]'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Self referencing loop detected for property 'KhoaHoc' with type 'CinimaServer.Models.KhoaHoc'. Path 'HocVienKhoaHocs[0]'.

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'CinimaServer.Models.HocVienKhoaHoc' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'CinimaServer.Models.HocVienKhoaHoc' contains cycles and cannot be serialized if reference tracking is disabled.

text/javascript

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/javascript'. Exception message: Self referencing loop detected for property 'KhoaHoc' with type 'CinimaServer.Models.KhoaHoc'. Path 'HocVienKhoaHocs[0]'.

application/javascript

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/javascript'. Exception message: Self referencing loop detected for property 'KhoaHoc' with type 'CinimaServer.Models.KhoaHoc'. Path 'HocVienKhoaHocs[0]'.

application/json-p

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json-p'. Exception message: Self referencing loop detected for property 'KhoaHoc' with type 'CinimaServer.Models.KhoaHoc'. Path 'HocVienKhoaHocs[0]'.