public async Task <int> DeleteCountry(int countryID) { var dyParam = new OracleDynamicParameters(); dyParam.Add(Params.PARAMETER_ID, OracleDbType.Int64, ParameterDirection.Input, (object)countryID ?? DBNull.Value); int result = await _DeleteRepository.DeleteObjectAsync(SPName.SP_DELETE_COUNTRY, dyParam); if (result == -1) { return(Convert.ToInt32(HttpStatusCode.OK)); } else { return(Convert.ToInt32(HttpStatusCode.NotModified)); } }