Rectifying 2 different ways to look at work

No.13738479 ViewReplyOriginalReport
So I got this problem for physics, and it seems to equal wither 0 or w*L*sin(theta) depending on your approach.
My approach is that work is basically the energy you put into an object - so basically change in energy. Thus, moving the block higher would simply equal m*g*delta(h), which in this problem is w*L*sin(theta). The way this problem looks at it is that W=F dotted with D. In which case, the work done by the force is F*L, and the work done by gravity is negative w*sin(theta)*L. Since the speed is constant, the Fnet = 0, and F = w*sin(theta). Thus Wnet also equals 0. Both approaches seem to be logically consistent. Appreciate any help, thanks.