/// <summary>
        /// Deletes a state/province
        /// </summary>
        /// <param name="stateProvince">The state/province</param>
        public virtual void Delete(StateProvince stateProvince)
        {
            Guard.IsNotNull(stateProvince, "stateProvince");

            this.stateProvinceRepository.Delete(stateProvince);

            this.cacheManager.RemoveByPattern(STATEPROVINCES_PATTERN_KEY);

            //event notification
            this.eventPublisher.EntityDeleted(stateProvince);
        }
 public static StateProvince ToEntity(this StateProvinceModel model, StateProvince destination)
 {
     return Mapper.Map(model, destination);
 }