You maybe able to fix it. Probably needs a new hard drive. It works if you have a OS in an external drive
MacBook Air (11-inch, Mid 2012)
1.7GHz Intel Core i5
4GB of memory DDR3
Software OS 10.7.5 in external drive
Comes with a power supply and cord as in the photo