// CreateJob handles jobs creation request
CreateJob handles jobs creation request
// CreateJob handles jobs creation request
func CreateJob(w http.ResponseWriter, r *http.Request, ps httprouter.Params) {
	var jobRequest uc.CreateJobRequest
	err := ReadJSON(r.Body, &jobRequest)
	if err != nil {
		respondError(w, err)
	}
	response, err := uc.CreateJob(jobRequest)
	respond(w, response, err)
}
func CreateJob ( w http . ResponseWriter , r * http . Request , ps httprouter . Params ) { var jobRequest uc . CreateJobRequest err := ReadJSON ( r . Body , & jobRequest ) if err != nil { respondError ( w , err ) } response , err := uc . CreateJob ( jobRequest ) respond ( w , response , err ) }
CreateJob handles jobs creation request
CreateJob handles jobs creation request