public IHttpActionResult Delete(string id) { var response = new BaseResponse(); if (!string.IsNullOrEmpty(id)) { var idAry = id.Split(',').ToList(); response = service.DeleteCostGroupDtl(idAry); } return(Ok(response)); }