Open ameypotnis opened 8 years ago
For this I have to crate one more class and controller right ? or I'm still not clear what I've to do?
you are right, create master class, table and controller
how to get only branch or standard in List?
First find all records by type then save it to one list(List
for updating and deleting i have to create my own function?
right
Develop an api to CRUD master data create (bulk records) /api/master body = [{ "type" : "standard", "value" : "BE" }, { "type" : "standard", "value" : "TE" }, { "type" : "branch", "value" : "CS" }]
update /api/master/branch/CS body = { "type" : "branch", "value" : "EL" }
getAll /api/master/standard response = ["TE", "BE"]
delete /api/master/branch/CS