Skip to main content Link Search Menu Expand Document (external link)

admin.company.go

This file contains handler functions to add,update and delete requests for companies.

function addNewHandler

handles a post request to create new company in the DB.

function addNewBulkHandler

handles a post request to create multiple companies passed as an array in the DB.

function updateCompanyHandler

handles request to update company details in database.

function deleteCompanyHandler

handles request to delete company in database.


Table of contents