/// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <param name="repository"></param>
        public void DeleteIncident(string id, RavenDataController dataController)
        {
            Enforce.That(string.IsNullOrEmpty(id) == false,
                                "ErrorLoggingController.DeleteIncident - id can not be null");

            dataController.Delete<Incident>(id);
        }
        /// <summary>
        /// Delete an IncidentType with the supplied id
        /// </summary>
        /// <param name="id">Id as string</param>
        /// <param name="dataController">Document storeage as RavenDataController</param>
        public void DeleteIncidentType(string id, RavenDataController dataController)
        {
            Enforce.That(string.IsNullOrEmpty(id),
                               "IncidentTypeController.DeleteIncidentType - id can not be null");

            dataController.Delete<IncidentType>(id);
        }