rajupaladiya is it something you can help me with?
Here are changes which you need to in Views\Product\ProductTemplate.Simple.cshtml.
(if you using theme then Themes/<YOURE_THEME_NAME>/Views\Product\ProductTemplate.Simple.cshtml.)
Add this lines at starting point
@inject IWorkContext workContext
then replace line - @await Html.PartialAsync("_Availability", Model) with
@await Html.PartialAsync("_Availability", Model)
Let me know if you get any issue, I'll happy to help you.