public async Task <IHttpActionResult> GetMPRApprovalsById(int id) { MPRApproverModel model = new MPRApproverModel(); model = await _rfqBusenessAcess.GetMPRApprovalsById(id); return(Ok(model)); }
public async Task <IHttpActionResult> InsertMPRApprover(MPRApproverModel model) { statuscheckmodel status = new statuscheckmodel(); status = await _rfqBusenessAcess.InsertMPRApprover(model); return(Ok(status)); }
public async Task <statuscheckmodel> InsertMPRApprover(MPRApproverModel model) { return(await _rfqDataAcess.InsertMPRApprover(model)); }