title: what are the benefits of using base Interface in c#
body: <p>I m working with an application in which Base inteface has been created as below</p>
  
  <pre><code>public interface IBaseRepository : IDisposable
  {
      bool IsUnitOfWork { get; set; }
  
      void SaveChanges();
  }
  </code></pre>
  
  <p>Then other interfaces extend this interface as</p>
  
  <pre><code>public interface ICourseRepository : IBaseRepository
  {
      Course GetCourseById(int id);
  
      List&lt;Course&gt; GetCourses();
  
      CourseModule GetCourseModuleById(int id);
  
  }
  </code></pre>
  
  <p>Just wondering what would be the advantage of this approach</p>