I am having two controller. 1st controller having parameterized constructor and some methods. Now I have to call that methods in my another controller. is there any way to do it?
Below is code
public partial class oneController : Controller
{
   private readonly IEmployeeService _employeeService;
   public oneController(IEmployeeService employeeService)
   {
      this._employeeService = employeeService;
   }
   // some methods
}
public partial class twoController : Controller
{
  // Need to call some methods from oneController
}
 
    